class Solution:
    def kthCharacter(self, k: int) -> str:
        return chr((k - 1).bit_count() % 26 + ord("a"))


s = [0]
for _ in range(5):
    n = []
    for v in s:
        n.append((v + 1) % 26)
    s += n
print(s)

print(list(range(len(s))))
